<template>
  <div class="about">
    <div class="container">
      <div class="author">
        <div class="avatar">
          <img src="/src/assets/imgs/avatar.jpg" alt="" />
        </div>
        <div class="author-name">
          <p class="text">星凪</p>
        </div>
      </div>
      <div class="version">
        <p class="text">星凪清单 v1.0.0</p>
      </div>
      <div class="desc">
        <p>使用 electron + vue3 + vite + Typescript 开发的跨平台桌面清单管理应用</p>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.about {
  background-color: var(--xz-card-bg);
  width: 100%;
  height: 100%;
  color: var(--xz-fontcolor);

  .container {
    padding: 20px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .author {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 5px;

      .text {
        font-weight: bold;
        font-size: 1.8rem;
      }

      img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
      }
    }

    .version {
      margin-top: 10px;

      .text {
        font-weight: bold;
        font-size: 1.2rem;
      }
    }

    .desc {
      margin-top: 10px;
      font-size: 1rem;
    }
  }
}
</style>
